package com.binyouwei.designpatterns.behavior.mediator;

import java.util.Date;

/**
 * @author 宾有为
 * @date 2024/7/16 19:52
 * @link https://blog.csdn.net/baidu_41616022?type=blog
 * @describe：
 **/
public class MediatorChatRoom {
    public static void showMessage(MediatorUser user, String message){
        System.out.println(new Date().toString()
                + " [" + user.getName() +"] : " + message);
    }
}
